package com.yun.pojo;


public class User{
   private int id;
   private String name;
   private String phone;
   private int sex;
   private String pwd;
   private String email;
   private String perms;

   public User() {
   }

   public User(int id, int sex,String name,String pwd,String phone, String email,String perms) {
      this.id = id;
      this.name = name;
      this.sex = sex;
      this.pwd = pwd;
      this.phone = phone;
      this.email = email;
      this.perms = perms;
   }

   public String getPerms() {
      return perms;
   }

   public void setPerms(String perms) {
      this.perms = perms;
   }

   public int getId() {
      return id;
   }

   public void setId(int id) {
      this.id = id;
   }

   public String getName() {
      return name;
   }

   public void setName(String name) {
      this.name = name;
   }

   public int getSex() {
      return sex;
   }

   public void setSex(int sex) {
      this.sex = sex;
   }

   public String getPwd() {
      return pwd;
   }

   public void setPwd(String pwd) {
      this.pwd = pwd;
   }

   public String getPhone() {
      return phone;
   }

   public void setPhone(String phone) {
      this.phone = phone;
   }

   public String getEmail() {
      return email;
   }

   public void setEmail(String email) {
      this.email = email;
   }





   @Override
   public String toString() {
      return "User{" +
              "id=" + id +
              ", name='" + name + '\'' +
              ", phone='" + phone + '\'' +
              ", pwd='" + pwd + '\'' +
              ", sex='" + sex + '\'' +

              ", email='" + email + '\'' +
              '}';
   }
}
